FROM openjdk:11
EXPOSE 8888
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
WORKDIR /data/jar/
ADD *.jar /data/jar/yunhe.jar
ENTRYPOINT ["java","-jar","/data/jar/yunhe.jar"]